package com.ruoyi.file.dto;

import com.ruoyi.system.api.domain.SysFile;
import com.ruoyi.system.api.domain.SysFileAgent;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;


public interface SysFileDao {
    //    Agent模板--保存文件到数据库
    @Insert("INSERT INTO sys_file (id, name, type, url, create_time) " +
            "VALUES (#{id}, #{name}, #{type}, #{url}, #{createTime})")
    int insert(SysFileAgent sysFileAgent);
}
